package com.wk.warehouse.service;

import com.wk.warehouse.entity.Transshipment;
import com.wk.warehouse.page.Page;

import java.util.HashMap;
import java.util.List;

public interface TransshipmentService {

	/**
	 * 模糊查询所有仓库信息
	 */
	public List<Transshipment> selectTransshipment(Transshipment transshipment, Page page);

	/**
	 * 查询调货单总数
	 */
	public int transshipmentCount(Transshipment transshipment);

	/**
	 * 添加调货单
	 */
	public Integer addTransshipment(Transshipment transshipment);

	/**
	 * 修改调货状态为已审核
	 */
	public int updateAuditState(int transId);

	//完成调货修改源仓库原商品数量
	public int updateSourceNum(Transshipment transshipment);
}
